<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="brand" href="/">S5</a>
			<ul class="nav">
				<li class="active">
					<a href="/">Home</a>
				</li>
				{% if user.is_anonymous %}
					<li><a href="/accounts/login/">Log in</a></li>
				{% else %}
					<li><a href="/accounts/profile/view">Profile</a></li>
					<li><a href="/accounts/logout/">Log out</a></li>
				{% endif %}
			</ul>
		</div>	
    </div>
</div>
{{ user }}
